package com.whmskj.xjlhsc.mobie.energymanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Map;

@Mapper
public interface MobileRealtimeMapper {
	/**
	 * 根据设备ID获取最新实时数据
	 * 通过设备ID关联到能耗表的dbid，再查询实时数据
	 */
	Map<String,Object> selectLatestByDeviceId(@Param("deviceId") Long deviceId);
}
